package com.ruoyi.project.cms.pro.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 *com.ruoyi.project.cms.pro.domain
 *作者：lh
 描述:
 *时间:2020-05-20
 */
@Getter
@Setter
@ToString
public class CmsImg {
    /**
    * 图片id
    */
    private Integer imgId;

    /**
    * 图片名字
    */
    private String imgName;

    /**
    * 图片路径
    */
    private String imgUrl;

    /**
    * 图片类型id
    */
    private Integer imgTypeId;
    /**
     * 图片类型
     */
    private CmsImgType cmsImgType;

    public CmsImg() {
    }

    public CmsImg(Integer imgId, String imgName, String imgUrl, Integer imgTypeId, CmsImgType cmsImgType) {
        this.imgId = imgId;
        this.imgName = imgName;
        this.imgUrl = imgUrl;
        this.imgTypeId = imgTypeId;
        this.cmsImgType = cmsImgType;
    }
}